Home:ALL Converter>Cannot access GIT behind firewall for MDB dependencies

Cannot access GIT behind firewall for MDB dependencies

Ask Time:2018-11-21T07:02:08         Author:simple

Json Formatter

Following the documentation as instructed, https://mdbootstrap.com/docs/angular/getting-started/quick-start/ (Pro version NPM installation).

I am unable to access the GIT file requested because our company firewall restricts access to the certificate.

Is there a method that could work in my package.json?


package.json

"dependencies": {
...
    "git+https://oauth2:[email protected]/mdb/angular/ng-uikit-pro-standard.git"
},

ERROR for npm install:

npm ERR! Error while executing:
npm ERR! C:\Program Files\Git\cmd\git.EXE ls-remote -h -t https://oauth2:[email protected]/mdb/angular/ng-uikit-pro-standard.git
npm ERR!
npm ERR! fatal: unable to access 'https://oauth2:[email protected]/mdb/angular/ng-uikit-pro-standard.git/': SSL certificate problem: self signed certificate in certificate chain
npm ERR!
npm ERR! exited with error code: 128

Author:simple,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53402906/cannot-access-git-behind-firewall-for-mdb-dependencies
yy